package com.components.media
{	
	/**
	 *  @auth Chunning
	 *  @purpose events for player ctrl panel...
	 *  @date 2009-4-8
	 * 
	 * */	
	import flash.events.Event;

	public class PlayerCtrlEvents extends Event
	{
		//START
		
		//PROPERTY
		public static const PLAY:String = "player_play";
		
		public static const RESUME:String = "player_resume";
		
		public static const PAUSE:String = "player_pause";
		
		public static const STOP:String = "player_stop";
		
		public static const SEEK:String = "player_seek";
		
		public static const FULL_SCREEN:String = "player_full_screen";
		
		public static const NORMAL_VIEW:String = "normal_view";
		
		public static const CHANGE_VOLUME:String = "change_volume";
		
		public static const CHANGE_RATE:String = "change_video_rate";
		
		public var ctrlInfo:Object;
		
		//CONSTRUCTOR
		public function PlayerCtrlEvents(type:String,ctrlInfo:Object = null)
		{
			
			this.ctrlInfo = ctrlInfo;
						
			super(type, bubbles, cancelable);
		}
		
		//METHODS
		
		//override clone...
		public override function clone():Event
		{
			
			return new PlayerCtrlEvents(type,ctrlInfo);
			
		}
		
		
		//END
	}
}